package com.mall507.fivepeaks.activity.mine;

import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.hzh.frame.comn.annotation.ViewInject;
import com.hzh.frame.ui.activity.BaseUI;
import com.mall507.fivepeaks.R;

@Route(path = "/mine/SettingSafeUI")
public class SettingSafeUI extends BaseUI implements View.OnClickListener {
    @ViewInject(R.id.password) //重置密码
    RelativeLayout password;
    
    @Override
    protected void onCreateBase() {
        setContentView(R.layout.ui_mine_setting_safe);
        getTitleView().setContent("账号与安全");
        password.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.password:
                ARouter.getInstance().build("/login/ResetPassword").withString("common_title", "重置密码").navigation(); //重置密码
                break;
        }
    }
}
